<?php echo $header;echo $sidebar ?>				

<div class="span10 content">			
    <?php echo $hugemenu ?>			
    <h1><?php echo $title;?></h1>			
    <?php if($this->session->flashdata('message')) {?>			
        <div class="alert alert-success">				
            <?php echo $this->session->flashdata('message') ?>			
        </div>			
    <?php  }?>			
<div>				

    <table class="table table-striped table-bordered table-hover table-primary">					
    <thead>
        <tr>
            <th><?php echo lang('hrm_gride_timesheet_user_overview_username');?></th>
            <th><?php echo lang('hrm_gride_timesheet_user_overview_days');?></th> 
            <th><?php echo lang('hrm_gride_timesheet_user_overview_timesheet');?></th>
            <th><?php echo lang('hrm_gride_timesheet_user_overview_vacation');?></th> 
        </tr>
    </thead>
    <tbody>
       <?php foreach ($overviews as $overview):?>    
        <tr>
            <td><?php echo $overview['Timesheet']['name']?></td>    
            <td><?php echo lang('hrm_gride_timesheet_user_overview_data_days');?></td>
            <td><?php echo $overview['Timesheet']['total']; echo ' '.lang('hrm_gride_timesheet_user_overview_data_timesheets').' ( '.$overview['Timesheet']['approved'].' '.lang('hrm_gride_timesheet_user_overview_data_approved').', '.$overview['Timesheet']['rejected'].' '.lang('hrm_gride_timesheet_user_overview_data_rejected').' )';?></td>
            <td><?php echo $overview['Vacation']['total']; echo ' '.lang('hrm_gride_timesheet_user_overview_data_vacations').' ( '.$overview['Vacation']['approved'].' '.lang('hrm_gride_timesheet_user_overview_data_approved').', '.$overview['Vacation']['rejected'].' '.lang('hrm_gride_timesheet_user_overview_data_rejected').' )';?></td>
        </tr>
        <?php endforeach;?>
    </tbody>
    </table>
</div>
<?php echo $pagination ?>
</div>

<?php echo $footer ?>